﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrl_vl_right_link.ascx.cs" Inherits="web_Controls_ctrl_vl_right_link" %>
<div id="vl_right_link">
	<div id="vl_right_link_ct">
		<ul>
		    <%
		    if (dtt.Rows.Count > 0)
            {
                for (int i = 0; i < dtt.Rows.Count; i++)
                {
                    if (Session["home"].ToString() == "1")
                    {
                        
                    %>    
			        <li style="padding-top:5px;"><a target="_blank" href="<%=dtt.Rows[i]["lien_ket"].ToString()%>"><img  src="<%=dtt.Rows[i]["tep_tin"].ToString()%>"
			            width="120px" height="100px" style="border:1px solid blue;"/></a></li>
			    <%}
         else
         {
                        %>
                        <li style="padding-top:5px;"><a target="_blank" href="<%=dtt.Rows[i]["lien_ket"].ToString()%>"><img  src="../../<%=dtt.Rows[i]["tep_tin"].ToString()%>"
			            width="120px" height="120px" style="border:1px solid green;"/></a></li>
                        <%
         }
                }
            } %>
		</ul>
	</div>
</div>